package com.agenda.client.requisicoes;

import java.io.Serializable;
import com.agenda.comum.ObjectEnvioInformacao;
import com.agenda.model.Compromisso;
import com.agenda.model.Convite;
import com.agenda.model.Requisicao;
import com.agenda.model.RequisicaoEnum;

public class ConfirmarRecusarCompromissoRequisicao extends ObjectEnvioInformacao {

	private Compromisso compromisso;
	private Convite convite;

	public ConfirmarRecusarCompromissoRequisicao(Compromisso compromisso, Convite convite) {
		this.compromisso = compromisso;
		this.convite = convite;
	}

	@Override
	public Requisicao getRequisicao() {
		return new Requisicao(RequisicaoEnum.CONFIRMAR_RECUSAR_COMPROMISSO.getId());
	}

	@Override
	public Serializable getObjeto() {
		return null;
	}

	@Override
	protected Serializable[] getObjetos() {

		return new Serializable[] { compromisso, convite };
	}

}
